package cn.zjweu.dao;

import cn.zjweu.domain.Dish;
import cn.zjweu.domain.DishCategory;

import java.util.List;

public interface DishDao {
    int findCountByDishAndCategory(String dishName, String categoryName);

    List<Dish> findPageByDishAndCategory(int start, int pageSize, String dishName, String categoryName);

    Dish findDishById(int dishId);

    public List<Dish> findCartListByDishIdAndUserId(int userId,int dishId);

    DishCategory findCategoryNameById(Integer categoryId);
}
